/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.kpi.transport.db.entities;

import java.util.List;

/**
 *
 * @author harker777
 */
public class FullStationBean extends StationBean{
    
    private List<StationToTypeBean> typesList;
    
    public FullStationBean(StationBean station){
        this.id = station.getId();
        this.lattitude = station.getLattitude();
        this.longitude = station.getLongitude();
        this.name = station.getName();
    }

    public List<StationToTypeBean> getTypesList() {
        return typesList;
    }

    public void setTypesList(List<StationToTypeBean> typesList) {
        this.typesList = typesList;
    }
    
}
